package com.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pojo.Card;
import com.vo.CardVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CardDAO extends BaseMapper<Card> {

    List<CardVo> findCardByCondition(int page, @Param("size") int limit, @Param("xuliehao") String xuliehao, @Param("status") String status, @Param("queryStr") String queryStr, @Param("zyNameList") List<String> zyNameList);

    int getCardCount(@Param("xuliehao") String xuliehao, @Param("status") String status, @Param("queryStr") String queryStr, @Param("zyNameList") List<String> zyNameList);

}
